package com.ooho.messageboard.model;

import java.io.Serializable;

/**
 * Created by hugohoo on 10/15/16.
 */
public class MessageBean implements Serializable {

    private int id;
    private String message;
    private String author;

    public MessageBean(int id, String message, String author, String time) {
        this.id = id;
        this.message = message;
        this.author = author;
        this.time = time;
    }

    private String time;

    public MessageBean(){}

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}
